<!doctype html>
<html lang="en">

<head>
    <meta charset="UTF-8"/>
    <meta name="layout" content="main3"/>
    <title>面谈列表</title>
</head>

<body>
<div class="wrapper">
    <div class="normalheader  small-header">
        <div class="hpanel">
            <div class="panel-body">
                %{--<a class="small-header-action" href="">
                    <div class="clip-header">
                        <i class="fa fa-arrow-down"></i>
                    </div>
                </a>--}%

                <div id="hbreadcrumb" class="pull-right">
                    <ol class="hbreadcrumb breadcrumb">
                        <li><a href="remoteSignface">进件作业系统</a></li>
                        <li class="active">
                            <span>员工柜员管理</span>
                        </li>
                    </ol>
                </div>

                <h2 class="font-light m-b-xs" style="line-height: 27px;">
                    订单记录
                </h2>
                %{--<small>Present pricing option for your app</small>--}%
            </div>
        </div>
    </div>

    <div class="row">
        <div class="col-lg-12">
            <g:form action="interviewList" class="form-horizontal">
                <div class="hpanel hblue">
                    <div class="panel-heading">
                        <div class="panel-tools">
                            <button class="btn btn-primary " type="submit">查询</button>
                            <button type="button" class="btn btn-warning2">重置</button>
                        </div>
                        面谈
                    </div>

                    <div class="panel-body">

                        <div class="col-sm-4">
                            <div class="form-group"><label class="col-sm-3 control-label">借款人姓名</label>

                                <div class="col-sm-9"><input type="text" name="fullName" value="${params?.fullName}"
                                                             class="form-control"></div>
                            </div>
                        </div>

                        <div class="col-sm-4">
                            <div class="form-group"><label class="col-sm-3 control-label">借款人手机号</label>

                                <div class="col-sm-9"><input type="text" name="cellphone" value="${params?.cellphone}"
                                                             class="form-control"></div>
                            </div>
                        </div>

                        <div class="col-sm-4">
                            <div class="form-group"><label class="col-sm-3 control-label">身份证号</label>

                                <div class="col-sm-9"><input type="text" name="idNumber" value="${params?.idNumber}"
                                                             class="form-control"></div>
                            </div>
                        </div>

                    </div>
                    %{--<div class="panel-footer">
                        Table - 6 rows
                    </div>--}%
                </div>
            </g:form>
        </div>
    </div>

    <div class="row">
        <div class="col-lg-12">
            <div class="hpanel hyellow">
                <div class="panel-heading">
                    <div class="panel-tools">
                    </div>
                    列表
                </div>

                <div class="panel-body">
                    <div class="table-responsive">
                        <table cellpadding="1" cellspacing="1" class="table table-bordered table-striped text-center">
                            <thead>
                            <tr>
                                <th>订单号</th>
                                <th>借款人姓名</th>
                                <th>借款人手机号</th>
                                <th>身份证号</th>
                                <th>面签方式</th>
                                <th>生成时间</th>
                            </tr>
                            </thead>
                            <tbody>

                            <g:if test="${opportunitys != []}">
                                <g:each in="${opportunitys}">
                                    <tr>
                                        <td class="text-center"><a
                                                onclick="window.open('/remoteSignFace/interviewMessage/${it?.id}')"
                                                style="color:
                                                #3498DB"
                                                class="firstTd">${it?.serialNumber}</a></td>
                                        <td class="text-center">${it?.fullName}</td>
                                        <td class="text-center">${it?.cellphone}</td>
                                        <td class="text-center">${it?.idNumber}</td>
                                        <td class="text-center">人工面签</td>
                                        <td class="text-center">${it?.interviewDate}</td>
                                    </tr>
                                </g:each>
                            </g:if>
                            <g:elseif test="${opportunitys == []}">
                                <h3 class="text-center">无结果</h3>
                            </g:elseif>
                            </tbody>
                        </table>
                    </div>

                </div>

                <div class="panel-footer" style="margin-bottom: 80px;">
                    <div class="pagination">
                        <g:paginate total="${count ?: 0}" params="${params}"/> 总共：${count}
                    </div>

                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>